package com.xiaren.biz;

import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;

import com.xiaren.ui.edit.MainEdit;

/**
 * 用于键盘事件MainEdit
 * @author xiaren
 * @主页 http://www.leaf123.cn/
 * @邮箱 xia5523@qq.com
 */
public class KeyListenBiz implements KeyListener{

	private MainEdit mainEdit = null;

	@Override
	public void keyTyped(KeyEvent e) {

	}

	@Override
	public void keyPressed(KeyEvent e) {
//		System.out.println(e.getKeyCode());
		if (e.getKeyCode() == KeyEvent.VK_S && e.isControlDown()) {
			ListenerEvent.btnSave();
		}
	}

	@Override
	public void keyReleased(KeyEvent e) {

	}

}
